<?php

namespace app\admin\model;

use think\Model;

class Job extends Model
{
    use TraitModel;
    protected $observerClass = 'app\admin\event\Job';

    public function getDidAttr($value)
    {
        $res = model('admin/depart')->get($value);

        return $res;
    }
}
